<template>
	<view class="page flex-col" style="position: fixed;">
		<view class="group_1 flex-col">

			<view class="image-text_17 flex-row justify-between" @click="denglu()">
				<image class="image_3" referrerpolicy="no-referrer"
					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngafb61b43a0a01f60e69be404e77adbf06c4554d1461ac80619d862467bad06a8.png" />
				<text class="text-group_1">{{username}}</text>
			</view>
		</view>
		<view class="group_2 flex-col">
			<view class="list_3 flex-row">
				<view class="image-text_18 flex-col" v-for="(item, index) in loopData0" :key="index"
					@click="go1(index)">
					<image class="label_1" referrerpolicy="no-referrer" :src="item.lanhuimage0" />
					<text class="text-group_2" v-html="item.lanhutext0"></text>
				</view>
			</view>
		</view>
		<view class="group_3 flex-col">
			<view class="group_11 flex-row justify-between" @click="go1(8)">
				<view class="image-text_19 flex-row justify-between">
					<image class="thumbnail_3" referrerpolicy="no-referrer"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng9d457fe21b6df5b0c2d8784c0c023fe6e921413c4a5a9095d7d00b22f9d6e3e3.png" />
					<text class="text-group_3">我的消息</text>
				</view>
				<image class="thumbnail_4" referrerpolicy="no-referrer"
					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngcb256a5d0a974122762d7a6893f660577b2d7c63c63a265715fe05d665dc8492.png" />
			</view>
			<image class="image_4" referrerpolicy="no-referrer"
				src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng9a77dea54d8cf7c4bde6d2b38852242240a00951a37add697cf2f366aff13053.png" />
			<view class="group_12 flex-row justify-between" @click="go1(7)">
				<view class="image-text_20 flex-row justify-between">
					<image class="thumbnail_5" referrerpolicy="no-referrer"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng05ac20e2b3f1ea7159b5909d1b0e0343895a6a1aab06f2d6adb298f1dbd89132.png" />
					<text class="text-group_4">我的收藏</text>
				</view>
				<image class="thumbnail_6" referrerpolicy="no-referrer"
					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngcb256a5d0a974122762d7a6893f660577b2d7c63c63a265715fe05d665dc8492.png" />
			</view>
			<view class="group_13 flex-row justify-between" @click="go1(9)">
				<view class="image-text_21 flex-row justify-between">
					<image class="thumbnail_7" referrerpolicy="no-referrer"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngd2632535f8426e4c367b51545234d7a2d9e20b4f865b596fdcdeb2d57db16013.png" />
					<text class="text-group_5">我的评价</text>
				</view>
				<image class="thumbnail_8" referrerpolicy="no-referrer"
					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngcb256a5d0a974122762d7a6893f660577b2d7c63c63a265715fe05d665dc8492.png" />
			</view>
			<view class="group_14 flex-row justify-between" @click="go1(5)">
				<view class="image-text_22 flex-row justify-between">
					<image class="thumbnail_9" referrerpolicy="no-referrer"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPnga2b5d8c01ea92026625079a92984ba0c15de44f9a3d8f7bbcd704da4e99f1d3d.png" />
					<text class="text-group_6">实名认证</text>
				</view>
				<image class="thumbnail_10" referrerpolicy="no-referrer"
					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPngcb256a5d0a974122762d7a6893f660577b2d7c63c63a265715fe05d665dc8492.png" />
			</view>
		</view>

		<!--		<view class="group_8 flex-col" style="position: fixed;bottom:0">-->
		<!--			<view class="group_15 flex-row justify-between">-->
		<!--				<view class="image-text_23 flex-col" @click="go1(4)" >-->
		<!--					<image class="thumbnail_11" referrerpolicy="no-referrer"-->
		<!--						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng73be559a60b4679e9787f06d4e8458c04fdb4c5e06dfa5733683fea6f92154ae.png" />-->
		<!--					<text class="text-group_7" >首页</text>-->
		<!--				</view>-->
		<!--				<view class="image-text_24 flex-col">-->
		<!--					<image class="thumbnail_12" referrerpolicy="no-referrer"-->
		<!--						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng28b6dcc1f73101523b3b6053fdff3cba9c8b562a6bc154dd1052258c55cd1efe.png" />-->
		<!--					<text class="text-group_8" >我的</text>-->
		<!--				</view>-->
		<!--			</view>-->
		<!--			<view class="group_16 flex-row">-->
		<!--				<view class="box_2 flex-col"></view>-->
		<!--			</view>-->
		<!--			-->
		<!--		&lt;!&ndash; 	<view class="image-wrapper_3 flex-col">-->
		<!--				<image @click="go1(6)" class="label_2" referrerpolicy="no-referrer"-->
		<!--					src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng5f3ad5838aa01595d7cb6e-->
		<!--					dd2b6b3f628448a9e2d4306f9a9543ec87b4b19490.png" />-->
		<!--			</view> &ndash;&gt;-->
		<!--		<image class="flex-col"  style="bottom: 200rpx;"-->
		<!--			src="/static/lanhu_171gerenzhongxinweidenglu/11.png" />-->
		<!--			-->
		<!--		</view>-->

		<view class="group_5 flex-col" style="">
			<view class="section_10 flex-row justify-between">
				<view class="image-text_26 flex-col" @click="go1(4)">
					<image class="thumbnail_13"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng73be559a60b4679e9787f06d4e8458c04fdb4c5e06dfa5733683fea6f92154ae.png" />
					<text class="text-group_7">首页</text>
				</view>
				<view class="image-text_27 flex-col">
					<image class="thumbnail_14" referrerpolicy="no-referrer"
						src="/static/lanhu_171gerenzhongxinweidenglu/SketchPng28b6dcc1f73101523b3b6053fdff3cba9c8b562a6bc154dd1052258c55cd1efe.png" />
					<text class="text-group_8">我的</text>
				</view>
			</view>
			<view class="section_11 flex-row">
				<view class="group_6 flex-col"></view>
			</view>
			<image class="label_11" @click="go1(10)"
				src="/static/lanhu_111tongchengfenleishouye/SketchPng5f3ad5838aa01595d7cb6edd2b6b3f628448a9e2d4306f9a9543ec87b4b19490.png" />
		</view>


	</view>
</template>
<script>
	export default {
		data() {
			return {
				username:'登录/注册',
				loopData0: [{
						lanhuimage0: 'https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPnga4d1d525feab3d169dff38fc3a407a38eea6ab518c05dd09f059c663469f7371',
						lanhutext0: '浏览记录'
					},
					{
						lanhuimage0: 'https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng070bae77d8475beaffbc36351234c6348b002f8f3c16f795b806cd899d85be26',
						lanhutext0: '我的草稿'
					},
					{
						lanhuimage0: 'https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng3c054b451e4fa63f8a96b45730ecc267ee2de37742fec9ae4fe7c3bbde0b8f88',
						lanhutext0: '我的成交'
					},
					{
						lanhuimage0: 'https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng1bdee72887049bacb483b7e2a978ac1942505b754a5b4dd639084efe311d0885',
						lanhutext0: '我的关注'
					}
				],
				constants: {}
			};
		},
		onload(){
			
		},
		methods: {
			denglu() {
				var uniMPModule = uni.requireNativePlugin("HGUniMPModule")
				console.log(uniMPModule)
				uniMPModule.getUserInfo({
					'needlogin': '0'
				}, res => {
					console.log(4444,res)
				})
			},
			go1(id) {
				console.log(id)
				if (id == 0) {
					//浏览记录
					uni.navigateTo({
						url: '/pages/lanhu_184liulanjilu/index',
					});
				}
				if (id == 1) {
					//我的草稿
					uni.navigateTo({
						url: '/pages/lanhu_183wodecaogao/index',
					});
				}
				if (id == 2) {
					//我的成交
					uni.navigateTo({
						url: '/pages/lanhu_182wodechengjiaorushou/index',
					});
				}

				if (id == 3) {
					//我得关注
					uni.navigateTo({
						url: '/pages/lanhu_151wodeguanzhu/index',
					});
				}
				if (id == 4) {
					//首页
					uni.navigateTo({
						url: '/pages/lanhu_111tongchengfenleishouye/index',
					});
				}
				if (id == 5) {
					//实名认证
					uni.navigateTo({
						url: '/pages/lanhu_21shimingrenzheng/index',
					});
				}
				if (id == 6) {
					//发布
					uni.navigateTo({
						url: '/pages/lanhu_162fabushuru/index',
					});
				}
				if (id == 7) {
					//我的收藏
					uni.navigateTo({
						url: '/pages/lanhu_1112wodeshoucang/index',
					});
				}
				if (id == 8) {
					//我的消息
					uni.navigateTo({
						url: '/pages/lanhu_1111wodexiaoxi/index',
					});
				}
				if (id == 9) {
					//我得评价
					uni.navigateTo({
						url: '/pages/lanhu_1113wodepingjia/index',
					});
				}
				if (id == 10) {
					//发布
					uni.navigateTo({
						url: '/pages/lanhu_162fabushuru/index',
					});
				}
			}
		}
	};
</script>
<style lang='css'>
	@import '../common/common.css';
	@import './assets/style/index.rpx.css';
</style>